package model;

public class Course {
    private String cno,cname,tno,mn,cn;

    public Course(String cno, String cname, String tno, String mn, String cn) {
        this.cno = cno;
        this.cname = cname;
        this.tno = tno;
        this.mn = mn;
        this.cn = cn;
    }

    public Course() {

    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "course{" +
                "cno='" + cno + '\'' +
                ", cname='" + cname + '\'' +
                ", tno='" + tno + '\'' +
                ", mn='" + mn + '\'' +
                ", cn='" + cn + '\'' +
                '}';
    }
}
